package com.qtenv.datasync.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qtenv.datasync.service.entity.Zone;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
 * 层级表 服务类
 * </p>
 *
 * @author CBL
 * @since 2022-08-02
 */
public interface ZoneService extends IService<Zone> {
    List<Zone> getZones(String tenantId, String levelType);

    List<Zone> getChildDmaList(String tenantId, String areaId);

    List<Zone> getChildSeniorList(String tenantId, String areaId);

    Page<Zone> getAllSeniorDataList(String tenantId, String areaName, String page, String pageSize);
}
